setAttachmentTag

fun setAttachmentTag(tagName: String, file: File?)

Set the file that is associated with the given tag name, copying the file into the data set's internal storage.